<template>
  <div class="header">
    <router-link to="/"
      tag="span"
      class="icon-back iconfont">
      &#xe624;
    </router-link>
    城市选择
  </div>
</template>

<script>
export default {
  name: 'CityHeader'
}
</script>

<style lang="stylus" scoped>
  @import '~styles/variables.styl'
  .header
    z-index 1
    position relative
    line-height $headerHeight
    font-size .32rem
    background $bgColor
    color #fff
    text-align center
    .icon-back
      position absolute
      left 0
      top 0
      bottom 0
      width: .4rem
      padding: 0 .2rem
</style>
